package com.quickask.idao;

import com.quickask.common.Pager;
import com.quickask.entity.AsknowAnswerSetEntity;

/**
 * Created by Administrator on 2015/9/30.
 */
public interface IAnswerSetDao {

    /**
     *
     * @param pageNo 页码
     * @param pageSize 页大小
     * @return
     */
    public Pager<AsknowAnswerSetEntity> findAnswerPagerByQuestionId(int pageNo, int pageSize, int questionId);

    /**
     *
     * @param pageNo 页码
     * @param pageSize 页大小
     * @param userId 用户id
     * @return
     */
    public Pager<AsknowAnswerSetEntity> findAnswerPagerByUserId(int pageNo, int pageSize, int userId);

}
